*/ public static function readFilePath(string $filePath) : array { $fileContents = FileSystem::read($filePath); return Json::decode($fileContents, \true); } /** * @param array $data */ public static function writeFile(string $filePath, array $data) : void { $json = Json::encode($data, \true); FileSystem::write($filePath, $json, null); } }